Fire up your applications with Jetfire
RSS
Jetfire Wiki


Quick Search
»
Advanced Search »

Page History: Web Part: Jetfire Workflow Editor

Compare Page Revisions



« Older Revision - Back to Page History - Newer Revision »


Page Revision: 2009/07/14 18:08



Workflow Editor Web Part

Workflow Editor Web Part

Workflow Editor Web Part

The Workflow Edit Web Part is a generic property editor, complete with commands and state display.

Web Part Example

Features of the Workflow Edit Part include:

  • Works in conjunction with a Workflow Configuration Xml file to display properties. If the Workflow Configuration Xml file is not found, then displays the Properties on a best guess basis.
  • Using the Workflow Configuration Xml file, displays Properties according to the type of Form Element specified. In the example,
  • The On Loan To and Name properties are displayed in a Text Box. This allows modification of the property.
  • The Description property is displayed in a multi-line Text Box. This allows modification of the property.
  • Timestamps are displayed as a read-only property.
  • The Notes of the Workflow are displayed in a tree view (none shown here). An action method is used to add a note to the workflow. (See Workflow Commands Part.)
  • The Tags of the system are displayed in a Drop Down List. The Tags associated with the Workflow are displayed in the tree view. Tags are added to the Workflow by selecting one from the Drop Down List. Tags are removed from the Workflow by selecting the Remove action from the tree view.

Editor for the Workflow Editor Web Part

Editor for the Workflow Editor Web Part

Edit Properties of the Web Part

The Web Part may be edited. It has the standard properties of a Jetfire Web Part. Additional custom edit properties include:

  • Property Display - select the properties that you wish to see displayed
  • Classes - (optional) Workflow Classes that may be created.
  • Display Names - (optional) the names displayed to the user for Workflow Classes that may be created.
  • Display Type – Link, Button or Strip style for the commands displayed in the Web Part.
  • Button Css Class – the cascade style used for Button or Strip.
  • MouseOver Css Class – the cascade style used for Button or Strip when the Mouse hovers over the command.
  • Selected Css Class - the cascade style used for Button or Strip when the button is selected.
  • Orientation (Vertical, Horizontal) - used for Workflow Classes.
  • Spacing - between hyperlinks.
  • Command Display - display Commands and States, Commands only, State only or no Commands or States.
  • Command Names - a list of commands that are allowed to be displayed.
  • Command Display Names - names that displayed to the user for a list of commands.
  • Save Method - the Jetfire method that is invoked when the Workflow is saved. e.g. the Save Method can update properties, such as 'LastUpdated'.
  • Edit Controls Length – The width of the control.
  • Label Css Class - The cascade style used for labels in the control.
  • Show Workflows in List - if checked, displays the workflows in lists of the parent workflow.

ScrewTurn Wiki version 3.0.4.560. Some of the icons created by FamFamFam.